﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;

namespace ku.datamodel.contract.tests
{
    [TestFixture]
    public class test_Token_Equal
    {
        [Test]
        public void Vergleich_von_Tokens()
        {
            var t1 = new Token("x", TokenType.Absatzende);
            var t2 = new Token("x", TokenType.Absatzende);

            Assert.AreEqual(t1, t2);

            t2 = new Token("y", TokenType.Absatzende);
            Assert.AreNotEqual(t1, t2);
        }
    }
}
